package day04;
import com.sun.xml.internal.ws.api.model.wsdl.WSDLOutput;

import java.util.Scanner;
public class CommandBySwitch01 {
    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        System.out.println("请选择功能：1.取款 2.存款 3.查询余额 . 0退卡");
        int command = scan.nextInt();

        switch (command){
            case 1:
                System.out.println("取款功能");
                break;
            case 2:
                System.out.println("存款功能");
                break;
            case 3:
                System.out.println("查询余额");
                break;
            case 0:
                System.out.println("退卡成功");
                break;
            default:
                System.out.println("错误指令");
        }


    }
}
